/*                                 盒子的属性——默认换行                                                          */

html, body, div, ul, li, ol, li, dl, dt, dd, h1, h2, h3, h4, h5, p, table, thead, tbody, tfoot, tr, th, td, form {
    margin: 0;
    padding: 0;
    border: 0;

}

/* 列表 */
ul, ol {
    list-style: none;
    font-size: inherit;
    color: inherit;
}

input[type="checkbox"], input[type="radio"] {
    vertical-align: -2px;
    margin: 0;
}

/* 表格 */
table {
    empty-cells: show;
}

/* 定义了不包含任何内容的表单元格如何表示*/

/*                             行内样式的属性--默认不换行                                                       */

/*  文字   */
span, b, i, em, del, strong, big, small, pre {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
    color: inherit;
}

del {
    text-decoration: none;
}

/* 下划线和删除线的样式去除 */
em {
    font-style: normal;
}

/* 只是作为钩子来使用 */

body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

/*  图片   */

a img {
    border: 0;
}

img {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: middle;

}

/*  链接   */

a {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: none;
    font-size: inherit;
    color: inherit;

}

a:hover {
    margin: 0;
    padding: 0;
    border: 0;
    text-decoration: underline;
    font-size: inherit;
    color: inherit;
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

/* 框架 */
iframe, frame, frameset {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
    color: inherit;
}

/* 表单元素 */
input, textarea, button, select, option, label, optgroup, fieldset, legend {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: inherit;
    color: inherit;

}

button::-moz-focus-inner, input[type=reset]::-moz-focus-inner, input[type=button]::-moz-focus-inner, input[type=submit]::-moz-focus-inner, input[type=file] > input[type=button]::-moz-focus-inner {
    border: 0;
    padding: 0;
}

:focus {
    outline: 0;
}

/* 获取焦点的任何元素都不会出现一个虚框 */

/*清除浮动*/
.clr_both:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    overflow: hidden;
    font-size: 0;
}

/*                             常用命令的总结                                                       */

.fl {
    float: left;
}

.fr {
    float: right;
}

.fn {
    float: none;
}

.al {
    text-align: left;
}

.ac {
    text-align: center;
}

.ar {
    text-align: right;
}

.clr {
    display: block;
    overflow: hidden;
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}

.clearfix {
    display: block
}

* + html .clearfix {
    min-height: 1%
}

.overflow {
    overflow: hidden;
}

.form label, .form input, .form select, .form textarea, .form button, .form .label {
    float: left;
    font-size: 12px;
}

.block {
    display: block;
    overflow: hidden;
}

.hide {
    display: none;
}

.invisible {
    visibility: hidden
}

/* 仍然占据空间，区别于display:none */
h1 {
    font: 20px "microsoft yahei", "\5b8b\4f53"
}

h2, h3 {
    font-size: 14px
}

h4, h5, h6 {
    font-size: 12px
}

a {
    color: #666;
    text-decoration: none
}

a:hover {
    color: #E4393C;
    text-decoration: underline
}